print(1 == 1 and 1 > 2)
print(1 == 1 and 1 < 2)

print("-" * 40)

print(1 == 1 or 1 > 2)
print(1 == 1 or 1 < 2)

print("-" * 40)

# 取反
print(not (1 == 1 and 1 > 2))
print(not (1 == 1 and 1 < 2))
print(not (1 == 1 or 1 > 2))
print(not (1 == 1 or 1 < 2))
